﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CSharpReview
{
    class Car
    {
        public string Brand { get; set; }

        public void Run()
        {
            Console.WriteLine($"{this.Brand} Run.");
        }
    }

    interface IFly
    {
        void Fly();
    }

    class BatCar : Car, IFly
    {
        public BatCar(string brand = "蝙蝠战车")
        {
            this.Brand = brand;
        }

        public void Fly()
        {
            Console.WriteLine($"{this.Brand} Fly.");
        }
    }
}
